using System;
using System.Collections.Generic;
using System.Linq;
using Granite.DataAnnotations;

namespace Granite.Commons.Tests.Metadata
{
    class BadMock
    {
        [CalculatedField("MissingProperty")]
        public int CalculatedTarget { get { return 0; } }
    }


    /// <summary>
    /// This has a public property that shadows another public property
    /// </summary>
    class ShadowedMock : ShadowedMockBase
    {
        public new int SimpleProperty { get; set; }
        public new int SimpleProperty2 { get; set; }
    }

    class ShadowedMockBase
    {
        public int SimpleProperty { get; set; }
        public string SimpleProperty2 { get; set; }
    }
}
